// import Mock from 'mockjs'
export default [
  {
    //温度管理-分页查询
    url: '/deviceMonitor/selectPageList',
    type: 'get',
    response: config => {
      return {
        "code": 0,
        "message": "操作成功",
        "data": {
          "pageNum": 1,
          "pageSize": 10,
          "total": 1,
          "pages": 1,
          "list": [
            {
              "id": 1,
              "deviceId": 134,
              "deviceType": "类型一",
              "deviceSn": "1111111111",
              "currentTemp": 25,
              "currentHumidity": 55,
              "minTemp": 20,
              "maxTemp": 35,
              "warnTemp": 30,
              "minHumidity": 40,
              "maxHumidity": 80,
              "warnHumidity": 70
            },
            {
              "id": 2,
              "deviceId": 135,
              "deviceType": "类型二",
              "deviceSn": "1111111111",
              "currentTemp": 25,
              "currentHumidity": 55,
              "minTemp": 11,
              "maxTemp": 22,
              "warnTemp": 33,
              "minHumidity": 44,
              "maxHumidity": 80,
              "warnHumidity": 70
            },
            {
              "id": 3,
              "deviceId": 136,
              "deviceType": "类型三",
              "deviceSn": "222222222222",
              "currentTemp": 25,
              "currentHumidity": 55,
              "minTemp": 21,
              "maxTemp": 43,
              "warnTemp": 11,
              "minHumidity": 22,
              "maxHumidity": 80,
              "warnHumidity": 70
            },
          ]
        }
      }
    }
  },
  {
    //温度管理-分页查询
    url: '/deviceMonitor/setTempHumiById',
    type: 'post',
    response: config => {
      return {
        "code": 0,
        "message": "操作成功"
      }
    }
  }
]
